import 'package:get/get.dart';
import 'package:xm_app/page/Whiteboard/WhiteBoardPage.dart';
import 'package:xm_app/page/login/LoginBind.dart';
import 'package:xm_app/page/login/LoginPage.dart';
import 'package:xm_app/page/main/MainBind.dart';
import 'package:xm_app/page/main/MainPage.dart';
import 'package:xm_app/page/main/home/HomeBind.dart';
import 'package:xm_app/page/main/home/HomePage.dart';
import 'package:xm_app/page/play/PlayBind.dart';
import 'package:xm_app/page/play/PlayPage.dart';
import 'package:xm_app/page/search/SearchPage.dart';
import 'package:xm_app/page/splash/SplashBind.dart';
import 'package:xm_app/page/splash/SplashPage.dart';
import 'package:xm_app/page/vod/VodDetailBind.dart';
import 'package:xm_app/page/vod/VodDetailPage.dart';
import 'package:xm_app/routes/AppRoutes.dart';

abstract class AppPages {
  static const initial = Routes.MAIN;

  static final routes = [
    GetPage(name: Routes.SPLASH, page: () => SplashPage(), binding: SplashBind()),
    GetPage(name: Routes.WHITEBOARD, page: () => WhiteboardPage()),
    GetPage(name: Routes.LOGIN, page: () => LoginPage(), binding: LoginBind()),
    GetPage(name: Routes.HOME, page: () => HomePage(), binding: HomeBind()),
    GetPage(name: Routes.MAIN, page: () => MainPage(), binding: MainBind()),
    GetPage(name: Routes.VOD_DETAIL + "/:id", page: () => VodDetailPage(), binding: VodDetailBind()),
    GetPage(name: Routes.PLAY, page: () => PlayPage(), binding: PlayBind()),
    GetPage(name: Routes.SEARCH, page: () => SearchPage()),
  ];
}
